package com.v0710.esbconver.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

@Data
@Slf4j
@Accessors(chain = true)
public class ItemData {

    private String nameEnglish;

    private String nameChinese;

    private String itemType="";


    private String constraint;//约束
    private String nameDesc;//描述
    private String required;//是否必须

    private List<ArrayItem> arrayItem = new ArrayList<>();

    @Data
    public static class ArrayItem{

        private String nameEnglish;
        private String nameChinese;

        private String constraint;//约束
        private String nameDesc;//描述
        private String required;//是否必须
    }
}
